bcaa712f6c3257273b4e8a5e774c9a4beb4c457f,src/main/java/com/continuuity/metadata/MetadataServiceImpl.java,MetadataServiceImpl,createApplication,#Account#Application#,491
Before Change
throw new MetadataServiceException("Application name cannot be null or empty");
}
if(! application.isSetDescription()) {
throw new MetadataServiceException("Application description should be set " +
"for create");
}
String description = application.getDescription();
if(description == null || (description != null && description.isEmpty())) {
throw new MetadataServiceException("Application description is empty or null");
}
try {
After Change
}
String description = "";
if(application.isSetDescription()) {
description = application.getDescription();
}
if(! application.isSetName()) {